<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
</h:head>
<h:body style="text-align:center">
  <p:growl id="mensajes" showDetail="true" life="2000" />
  <h:form>
	Bienvenido a Autentia
    <p:panel header="Login" style="width:300px">
      <h:panelGrid columns="2" cellpadding="5">
        <h:outputLabel for="username" value="Usuario:" />
        <p:inputText value="#{}" id="username" required="true" label="username" />
        <h:outputLabel for="password" value="Clave:" />
        <p:password value="#{}" id="password" required="true" label="password" />
        <h:outputLabel for="idioma" value="Idioma:" />
        <p:selectOneMenu id="console" value="#{}" style="width:125px">
            <f:selectItem itemLabel="Espanol" itemValue="esp" />
            <f:selectItem itemLabel="Ingles" itemValue="ing" />
        </p:selectOneMenu>
        <f:facet name="footer">
          <p:commandButton id="loginButton" value="Ingresar" actionListener="#{}" update=":mensajes"/>
        </f:facet>
      </h:panelGrid>
    </p:panel>
  </h:form>
</h:body>
</html>